From 42249ce28e807e12e244861da237a766792b313e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 8 Jul 2021 13:08:38 +0400 Subject: [PATCH] gtk: fix GTK_INVALID_LIST_POSITION type MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Unless there is an explicit front cast, constants are generally int for g-i. Signed-off-by: Marc-André Lureau --- gtk/gtktypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtktypes.h b/gtk/gtktypes.h index 79720618f0..5892c0980e 100644 --- a/gtk/gtktypes.h +++ b/gtk/gtktypes.h @@ -69,7 +69,7 @@ typedef struct _GtkWindow GtkWindow; * Refer to each function's documentation for if this value is * allowed and what it does. */ -#define GTK_INVALID_LIST_POSITION (0xffffffffU) +#define GTK_INVALID_LIST_POSITION ((guint32) 0xffffffff) G_END_DECLS -- 2.30.2